Print the random client type name, not the fixed one.
authorTor Lillqvist <tml@src.gnome.org>
Sat, 1 Nov 2008 12:18:07 +0000 (12:18 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Sat, 1 Nov 2008 12:18:07 +0000 (12:18 +0000)
svn path=/trunk/; revision=21750

tests/testclientmessage.c

index 38516ea9eb26b56ba994e60036af421bf9189e31..436e9e80d0d93268b464edcfb18afe917b5e1ab7 100644 (file)
@@ -83,9 +83,9 @@ main (int argc, char **argv)
                                                  g_rand_int_range (g_rand_new (), 1, 99)),\r
                                 FALSE);\r
 \r
-  g_print ("using client message type %s\n", gdk_atom_name (my_type));\r
+  g_print ("using random client message type %s\n", gdk_atom_name (random_type));\r
 \r
- window = g_object_connect (g_object_new (gtk_window_get_type (),\r
 window = g_object_connect (g_object_new (gtk_window_get_type (),\r
                                           "type", GTK_WINDOW_TOPLEVEL,\r
                                           "title", "testclientmessage",\r
                                           "border_width", 10,\r